<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WB32L003 Standard Peripherals Firmware Library: misc.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WB32L003 Standard Peripherals Firmware Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6d2d5b60bd20db849a9486835a2715aa.html">Libraries</a></li><li class="navelem"><a class="el" href="dir_5ec8cccc32fa528457f3b4ed28e1a2cf.html">WB32L003_StdPeriph_Driver</a></li><li class="navelem"><a class="el" href="dir_cb9a941ec225bfb9bad4e8246158e282.html">inc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">misc.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="misc_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">/* Define to prevent recursive inclusion -------------------------------------*/</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#ifndef __MISC_H</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#define __MISC_H</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160; <span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">/* Includes ------------------------------------------------------------------*/</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &quot;wb32l003.h&quot;</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#define SysTick_CLKSource_HCLK_Div4   ((uint32_t)0xFFFFFFFB)</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#define SysTick_CLKSource_HCLK        ((uint32_t)0x00000004)</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#define IS_SYSTICK_CLK_SOURCE(SOURCE) (((SOURCE) == SysTick_CLKSource_HCLK) || \</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">                                       ((SOURCE) == SysTick_CLKSource_HCLK_Div4))</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___m_i_s_c___exported___functions.html#ga2777d255bb06ad62bb6372a9db1ff385">SysTick_CLKSourceConfig</a>(uint32_t SysTick_CLKSource);</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___m_i_s_c___exported___functions.html#ga98cf2850401cd9682d4d762963b0919c">SysTick_DelayNticks</a>(uint32_t Ticks);</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___m_i_s_c___exported___functions.html#ga6bb3f1a4c41c0ba607e4162673c5a928">SysTick_DelayUs</a>(uint32_t Us);</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___m_i_s_c___exported___functions.html#gad8ea826dcc081c8b903e1b78d82aae6d">SysTick_DelayMs</a>(uint32_t Ms);</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;}</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* __MISC_H */</span><span class="preprocessor"></span></div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div><div class="ttc" id="group___m_i_s_c___exported___functions_html_ga98cf2850401cd9682d4d762963b0919c"><div class="ttname"><a href="group___m_i_s_c___exported___functions.html#ga98cf2850401cd9682d4d762963b0919c">SysTick_DelayNticks</a></div><div class="ttdeci">void SysTick_DelayNticks(uint32_t Ticks)</div><div class="ttdoc">Delay n ticks.</div><div class="ttdef"><b>Definition:</b> misc.c:95</div></div>
<div class="ttc" id="group___m_i_s_c___exported___functions_html_gad8ea826dcc081c8b903e1b78d82aae6d"><div class="ttname"><a href="group___m_i_s_c___exported___functions.html#gad8ea826dcc081c8b903e1b78d82aae6d">SysTick_DelayMs</a></div><div class="ttdeci">void SysTick_DelayMs(uint32_t Ms)</div><div class="ttdoc">Delay n Ms.</div><div class="ttdef"><b>Definition:</b> misc.c:136</div></div>
<div class="ttc" id="group___m_i_s_c___exported___functions_html_ga6bb3f1a4c41c0ba607e4162673c5a928"><div class="ttname"><a href="group___m_i_s_c___exported___functions.html#ga6bb3f1a4c41c0ba607e4162673c5a928">SysTick_DelayUs</a></div><div class="ttdeci">void SysTick_DelayUs(uint32_t Us)</div><div class="ttdoc">Delay n Us.</div><div class="ttdef"><b>Definition:</b> misc.c:119</div></div>
<div class="ttc" id="group___m_i_s_c___exported___functions_html_ga2777d255bb06ad62bb6372a9db1ff385"><div class="ttname"><a href="group___m_i_s_c___exported___functions.html#ga2777d255bb06ad62bb6372a9db1ff385">SysTick_CLKSourceConfig</a></div><div class="ttdeci">void SysTick_CLKSourceConfig(uint32_t SysTick_CLKSource)</div><div class="ttdoc">Configures the SysTick clock source.</div><div class="ttdef"><b>Definition:</b> misc.c:74</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.
</small></address>
</body>
</html>
